<?php
/**
 * /depot/config/config.php
 * @author qqinxl
 * 2008/03/24
 * 
 * @category  
 * @package  
 * @copyright  Copyright (c) {}
 */
//定义语言包目录
define('LANGUAGE_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'lang');

//定义应用目录 存放系统的controller和view
define('APP_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'application');

//定义zend目录 
define('LIB_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'library');
define('ZEND_DIR', PREV_DIR . DIRECTORY_SEPARATOR . 'Zend.Framework');
//定义模块目录
define('MODELS_DIR', LIB_DIR. DIRECTORY_SEPARATOR . 'models');
define('MODELS_COMMON_DIR', LIB_DIR. DIRECTORY_SEPARATOR . 'common');
define('MODELS_MVC_DIR', LIB_DIR. DIRECTORY_SEPARATOR . 'mvc-helper');

//定义图片 css js文件目录 
define('PUBLIC_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'public');
define('IMAGE_DIR', PUBLIC_DIR . DIRECTORY_SEPARATOR . 'images');
define('SCRIPT_DIR', PUBLIC_DIR . DIRECTORY_SEPARATOR . 'scripts');
define('STYLE_DIR', PUBLIC_DIR . DIRECTORY_SEPARATOR . 'styles');
define('FONT_DIR', PUBLIC_DIR . DIRECTORY_SEPARATOR . 'fonts');

//定义temp目录  存放cache session log upload等
define('TEMP_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'temp');
define('CACHE_DIR', TEMP_DIR . DIRECTORY_SEPARATOR . 'caches');
define('LOG_DIR', TEMP_DIR . DIRECTORY_SEPARATOR . 'logs');
define('SESSION_DIR', TEMP_DIR . DIRECTORY_SEPARATOR . 'sessions');
define('UPLOADS_DIR', TEMP_DIR . DIRECTORY_SEPARATOR . 'uploads');

//定义config目录
define('CONFIG_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'config');
//定义基本配置文件
define('CONFIG_FILE', CONFIG_DIR . DIRECTORY_SEPARATOR . 'config.xml');
//定义系统启动文件
define('BOOTSTRAP_FILE', MODELS_MVC_DIR.DIRECTORY_SEPARATOR.'iBootstrap.php');


